package com.java2404.micro.common.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * @author HP
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel("商家用户")
@TableName("t_merchant")
public class Merchant {
    @ApiModelProperty(value = "商家id")
    @TableId
    private Integer mid;
    @ApiModelProperty(value = "商家账号")
    private String mname;
    @ApiModelProperty(value = "商家密码")
    private String mpasswd;
    @ApiModelProperty(value = "商家真实名称")
    private String merchant;
    @ApiModelProperty(value = "商家所在省份")
    private String province;
    @ApiModelProperty(value = "商家所在市")
    private String city;
    @ApiModelProperty(value = "商家所在区")
    private String district;
    @ApiModelProperty(value = "商家详细地址")
    private String address;
    @ApiModelProperty(value = "商家状态，0:待审核;1:已入住;")
    private Integer mstatus;
    @ApiModelProperty(value = "创建人")
    private String create_by;
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime create_time;
    @ApiModelProperty(value = "更新人")
    private String update_by;
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime update_time;
    @ApiModelProperty(value = "状态")
    private Integer deleted;
}
